package com.wizz.trade.information.mapper;

import com.wizz.trade.information.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单模式表 Mapper 接口
 * </p>
 *
 * @author fyftless
 * @since 2023-04-02 04:26:06
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    /**
     * 获取订单模式map
     * @return
     */
    List<Map<Integer, String>> getNames();

    /**
     * 获取订单模式键值对
     * @return 键值对
     */
    List<Map<Integer, String>> getOptions();

}
